package com.itheima.a03mybufferedstream;

import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;

public class BufferedStreamDemo2 {
    public static void main(String[] args) throws IOException {
        //熟悉字符缓冲输入流

        //创建对象
        BufferedReader br = new BufferedReader(new FileReader("myio\\aa.txt"));
        String s = br.readLine();
        System.out.println(s);
        System.out.println(br.readLine());
        br.close();
    }
}
